package moodish.client;

import javax.swing.ImageIcon;


/**
 * Set of predefined user Moods.
 * 
 * @author es1-2013-group2
 *
 */
public enum Mood {
	
	Rundown ("Rundown.png"),
	Good ("Good.png"),
	Happy ("Happy.png"),
	Uncomfortable ("Uncomfortable.png"), 
	Shy ("Shy.png"),
	Needy ("Needy.png"), 
	Confused ("Confused.png"),
	Challenged ("Challenged.png") , 
	Wonderful ("Wonderful.png"), 
	Disgruntled ("Disgruntled.png"), 
	Annoyed ("Annoyed.png"),
	Content ("Content.png"), 
	Loved ("Loved.png"),
	Cheerful ("Cheerful.png"),
	Clueless ("Clueless.png"),
	AtEase ("AtEase.png"),
	Tired ("Tired.png"),
	Accepted ("Accepted.png");

	
	/**
	 * The imageIcon for the mood. This image represents the user mood.
	 */
	private final ImageIcon imageIcon;   
	
	
	/**
	 * Constructs a new Mood with a specific icon.
	 * @param imageName Mood icon name.
	 */
	Mood (String imageName ){
		this.imageIcon = new ImageIcon(getClass().getResource("/"+imageName));
	}
	
	/**
	 * Returns the mood image.
	 * @return ImageIcon The mood image.
	 */
	public ImageIcon getImageIcon(){
		return imageIcon;
	}
	
}


